/// <summary>
/// 状态接口
/// </summary>
public interface IState
{
    /// <summary>
    /// 状态进入时调用
    /// </summary>
    void OnEnter();

    /// <summary>
    /// 状态更新时调用
    /// </summary>
    void OnUpdate();

    /// <summary>
    /// 状态退出时调用
    /// </summary>
    void OnExit();
}